I wanted to create a ready to run Windows NT + AltaVista search instance with some populated data!
I've isolated the OS, Database & Raw data into 3 separate disks, C/D/U. It makes sense, trust me.
Although I did leave stunnel in the image, it's disabled, and uses ancient crypto so it's kind of useless. I'm not happy with the current TCP proxy but it loads up on port 80, which will redirect into the AltaVista server.
The Administrator has no password, but you'll have to C-A-D to login, and it'll start up the user processes.
qemu.exe -m 64 -cpu pentium ^
-net nic,model=pcnet -net user ^
-hda altavista-c.vmdk ^
-hdb altavista-d.vmdk ^
-hdd altavista-u.vmdk ^
-redir tcp:8877::80
To really access it over the network, you'll need a reverse proxy.
I've included an appropriate Apache config, that needs mod_rewrite & mod_proxy / mod_proxy_http
I've put the vmdk's into sqshfs containers which can be mounted on Linux and used as backing stores.
Something like this:
mount -o loop altavista-c.vmdk.sqsh /usr/local/squash/AltaVista/c
mount -o loop altavista-d.vmdk.sqshfs /usr/local/squash/AltaVista/d
mount -o loop altavista-u.vmdk.sqshfs /usr/local/squash/AltaVista/u
qemu-img create -f vmdk -b /usr/local/squash/AltaVista/c/altavista-c.vmdk -F vmdk altavista-c.vmdk
qemu-img create -f vmdk -b /usr/local/squash/AltaVista/d/altavista-d.vmdk -F vmdk altavista-c.vmdk
qemu-img create -f vmdk -b /usr/local/squash/AltaVista/u/altavista-u.vmdk -F vmdk altavista-c.vmdk